package com.example.demo.Impl;

import com.jian.java.bean.User;
import com.jian.java.inter.UserConsumer;
import org.springframework.stereotype.Service;

/**
 * @author Jiange
 * @create 2021-05-23-19:55
 */
@Service
public class UserConsumerImpl implements UserConsumer {
    @Override
    public String getName(User age) {
        return age.getName();
    }
}
